package com.yt.lxh.vo.product;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.math.BigDecimal;

@Data
@ApiModel(description = "简易的商品基本信息")
public class SimpleSkuVO {

    @ApiModelProperty(value = "SKU ID")
    private String id;

    @ApiModelProperty(value = "SKU名称")
    private String skuName;

    @ApiModelProperty(value = "SKU封面路径")
    private String skuImg;

    @ApiModelProperty(value = "商品单价")
    private BigDecimal price;

    @ApiModelProperty(value = "分类id外键")
    private Long categoryId;

    @ApiModelProperty(value = "是否售卖(1：是 / 0：否)")
    private Boolean onSale;

    @ApiModelProperty(value = "排序权重")
    private Integer sort;
}
